package com.pushbox.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pushbox.dao.UserLoginMapper;
import com.pushbox.model.UserLogin;
import com.pushbox.service.UserService;

/**
 * Created by Hatcher on 2016/9/22 0022.
 */
@Service("userService")
public class UserServiceImpl implements UserService {
	@Autowired
	private UserLoginMapper userLoginMapper;

	@Override
	public Integer addUser(UserLogin userLogin) {
		// TODO Auto-generated method stub
		return userLoginMapper.insertSelective(userLogin);
	}
}
